export const getElementByClassName = (className) => {

  var dom = document.getElementsByClassName(className)

  if (dom.length === 0) {
    return null
  }

  return dom[0]
}


